package com.xuanyuan.service;


import com.xuanyuan.entity.Post;

import java.util.List;

public interface PostService {
    Post selectPostByName(String postName);

    Post selectPostById(String id);

    List<Post> selectPostList(Post post);

    Integer insertPost(Post post);

    Integer updatePost(Post post);

    Integer deletePostByIds(String[] ids);
}
